<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ClientSearch.ascx.vb" Inherits="WebControls_ClientSearch" %>
<table border="0" cellpadding="0" cellspacing="0" width="800">
    <tr>
        <td style="font-size: 3px; height: 3px; background-color: #105ba4">
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="800">
    <tr>
        <td style="width: 800px">
            <table border="0" cellpadding="0" cellspacing="0" style="height: 35px" width="800">
                <tr>
                    <td align="left" style="font-size: 10pt; width: 84px; font-family: Verdana; height: 32px">
                        &nbsp;Name:
                    </td>
                    <td align="left" style="width: 285px; height: 32px">
                        &nbsp;<asp:TextBox ID="txtName" runat="server" Font-Names="Verdana" Width="264px"></asp:TextBox></td>
                    <!--
                    <td align="right" style="font-size: 10pt; width: 78px; font-family: Verdana; height: 32px">
                        Birthday:
                    </td>
                    <td align="left" style="width: 150px; height: 32px">
                        &nbsp;<asp:TextBox ID="txtBday" runat="server" Width="136px"></asp:TextBox>
                    </td>
                    -->
                    <td align="right" style="font-size: 10pt; width: 90px; font-family: Verdana; height: 32px">
                        Age:
                    </td>
                    <td align="left" style="width: 95px; height: 32px">
                        &nbsp;<asp:TextBox ID="txtAge" runat="server" Width="80px"></asp:TextBox>
                    </td>
                    <td align="right" style="font-size: 10pt; width: 40px; font-family: Verdana; height: 32px">
                        &nbsp;</td>
                    <td align="left" style="width: 93px; height: 32px">
                        &nbsp;
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    
    <tr>
        <td style="width: 800px">
            <table border="0" cellpadding="0" cellspacing="0" style="height: 35px" width="800">
                <tr>
                    <td style="width: 400px; height: 24px">
                    </td>
                    <td style="height: 24px">
                        &nbsp;</td>
                    <td style="width: 59px; height: 24px">
                    </td>
                    <td style="height: 24px">
                        &nbsp;</td>
                    <td style="height: 24px; text-align: right">
                        <asp:Button ID="Search_btn" runat="server" BackColor="Gainsboro" CausesValidation="False"
                            Font-Names="Verdana" Text="Search" Width="120px" /></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="800">
    <tr>
        <td style="font-size: 3px; height: 3px; background-color: #c0c0c0">
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="800">
    <tr>
        <td style="font-size: 3px; height: 20px">
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" style="font-size: 10pt; font-family: Verdana"
    width="800">
    <tr>
        <td align="left" style="height: 16px">
            Search Results:
            <asp:Label ID="results_label" runat="server" Text="0"></asp:Label></td>
        <td align="right" style="height: 16px">
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" style="font-size: 3pt; font-family: Verdana;
    height: 3px" width="800">
    <tr>
        <td>
            &nbsp;</td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0">
    <tr>
        <td style="width: 800px">
            <asp:DataGrid ID="DataGrid" runat="server" AllowPaging="True" AllowSorting="True"
                AutoGenerateColumns="False" BackColor="White" BorderColor="White" BorderStyle="Solid"
                BorderWidth="1px" CellPadding="1" Font-Names="Verdana" Font-Size="10pt" TabIndex="12"
                Width="800px">
                <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                <SelectedItemStyle Font-Bold="True" Font-Italic="True" Font-Names="Arial" Font-Overline="False"
                    Font-Size="10pt" Font-Strikeout="False" Font-Underline="False" ForeColor="#105BA4" />
                <PagerStyle BackColor="White" ForeColor="#330099" HorizontalAlign="Left" Mode="NumericPages"
                    PageButtonCount="9" Position="Top" />
                <AlternatingItemStyle BackColor="#D7DADF" />
                <ItemStyle BackColor="#F2F3F5" ForeColor="Black" />
                <HeaderStyle BackColor="#105BA4" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:ButtonColumn CommandName="Select_Client" Text="Select Client">
                        <HeaderStyle Width="15px" />
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                    </asp:ButtonColumn>
                    <asp:BoundColumn DataField="client_cd" Visible="False"></asp:BoundColumn>
                    <asp:BoundColumn DataField="Type" Visible="False"></asp:BoundColumn>
                    <asp:BoundColumn DataField="ClientName" HeaderText="Name">
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Center" />
                    </asp:BoundColumn>
                    <asp:BoundColumn DataField="birthday" HeaderText="Birthday" DataFormatString="{0:dd-MMM-yyyy}">
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Center" />
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                    </asp:BoundColumn>
                    <asp:BoundColumn DataField="Age" HeaderText="Age">
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Center" />
                    </asp:BoundColumn>
                    <asp:BoundColumn DataField="policy_no" HeaderText="Policy No#">
                        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Left" />
                        <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                            Font-Underline="False" HorizontalAlign="Center" />
                    </asp:BoundColumn>
                </Columns>
            </asp:DataGrid></td>
    </tr>
</table>
